package com.lyy.rev1ew;

import com.lyy.rev1ew.bean.BeanConfig;
import com.lyy.rev1ew.component.UserComponent;
import com.lyy.rev1ew.configuration.UserConfiguration;
import com.lyy.rev1ew.controller.UserController;
import com.lyy.rev1ew.model.User;
import com.lyy.rev1ew.repository.UserRepository;
import com.lyy.rev1ew.service.UserService;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.context.ApplicationContext;
import org.springframework.context.annotation.ComponentScan;

import javax.jws.soap.SOAPBinding;

@SpringBootApplication
public class Rev1ewApplication {
    public static void main(String[] args) {

        ApplicationContext context=SpringApplication.run(Rev1ewApplication.class, args);

        UserController uc=(UserController) context.getBean(UserController.class);
        uc.sayHi();
    }
}


